﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSharpLib;
using FSharpLib;

namespace App
{
    class Program
    {
        static void Main(string[] args)
        {
            var kuji = new FSharpLib.Kujibiki();
            kuji.InsertCoin(100);
            var prize = kuji.DrawLottery();
            Console.WriteLine("当たったもの：{0}、価値：{1}", prize.Description, prize.Value);

            var kuji2 = new CSharpLib.Kujibiki();
            kuji2.InsertCoin(100);
            var prize2 = kuji2.DrawLottery();
            Console.WriteLine("当たったもの：{0}、価値：{1}", prize2.Description, prize2.Value);

            var kuji3 = new FSharpLib.Kujibiki2();
            kuji3.InsertCoin(100);
            var prize3 = kuji3.DrawLottery();
            Console.WriteLine("当たったもの：{0}、価値：{1}", prize3.Description, prize3.Value);

            var kuji4 = new FSharpLib.SpecialKujibiki();
            kuji4.InsertCoin(100);
            var prize4 = kuji4.DrawLottery();
            Console.WriteLine("当たったもの：{0}、価値：{1}", prize4.Description, prize4.Value);

            Console.ReadLine();
        }
    }
}
